package cn.hongwei.eduservice.service;

import cn.hongwei.eduservice.entity.EduTeacher;
import cn.hongwei.eduservice.entity.TeacherQuery;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 * 讲师 服务类
 * </p>
 *
 * @author Great
 * @email 1224028994@qq.com
 */
public interface EduTeacherService extends IService<EduTeacher> {

    //查询所有老师
    List<EduTeacher> findAll();

    String deleteById(String id);

    Page<EduTeacher> getPageByCondition(Page<EduTeacher> page, TeacherQuery query);
}
